package com.social.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
import lombok.*;

import java.io.Serializable;
import java.util.ArrayList;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private Integer id;
    @Excel(name = "用户名")
    private String username;
    @Excel(name = "密码")
    private String password;
    @Excel(name = "姓名")
    private String realName;
    @Excel(name = "部门Id")
    private String department;
    @Excel(name = "账户状态")
    private Integer state;
    //用户对应岗位
    private Post posts;
    //用户对应角色
    private ArrayList<Role> roles;
}